﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Install.aspx.cs" Inherits="BBS.install.Install" Trace="true" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <style type="text/css">
        .PointsInput
        {
            width: 50px;
            margin-right: 20px;
        }
        fieldset{ margin:5px;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <fieldset>
            <legend>基础积分数据设置</legend>
            <label>
                发帖积分</label><asp:TextBox runat="server" CssClass="PointsInput" ID="TxtPostPoints">3</asp:TextBox>
            <label>
                回帖积分</label><asp:TextBox runat="server" CssClass="PointsInput" ID="TxtReplyPoints">1</asp:TextBox>
            <label>
                置顶积分</label><asp:TextBox runat="server" CssClass="PointsInput" ID="TxtTopPoints">5</asp:TextBox>
            <label>
                加精积分</label><asp:TextBox runat="server" CssClass="PointsInput" ID="TxtHighlightPoints">5</asp:TextBox>
            <label>
                登录积分</label><asp:TextBox runat="server" CssClass="PointsInput" ID="TxtLoginPoints">1</asp:TextBox>
            <label>
                移帖积分</label><asp:TextBox runat="server" CssClass="PointsInput" ID="TxtMovePoints">-3</asp:TextBox>
            <label>
                锁帖积分</label><asp:TextBox runat="server" CssClass="PointsInput" ID="TxtLockPoints">-2</asp:TextBox>
            <label>
                删帖积分</label><asp:TextBox runat="server" CssClass="PointsInput" ID="TxtDelPoints">-10</asp:TextBox>
            <br />
            <br />
            <asp:Button runat="server" ID="BtnInitData" Text="更新数据" OnClick="BtnInitData_Click" />
        </fieldset>
        <fieldset>
            <legend>现有积分数据</legend>
            <label>发帖积分</label><asp:Label runat="server"  CssClass="PointsInput" ID="LblPostPoints"></asp:Label>
            <label>回帖积分</label><asp:Label runat="server"  CssClass="PointsInput" ID="LblReplyPoints"></asp:Label>
            <label>置顶积分</label><asp:Label runat="server"  CssClass="PointsInput" ID="LblTopPoints"></asp:Label>
            <label>加精积分</label><asp:Label runat="server"  CssClass="PointsInput" ID="LblHighlightPoints"></asp:Label>
            <label>登录积分</label><asp:Label runat="server"  CssClass="PointsInput" ID="LblLoginPoints"></asp:Label>
            <label>移帖积分</label><asp:Label runat="server"  CssClass="PointsInput" ID="LblMovePoints"></asp:Label>
            <label>锁帖积分</label><asp:Label runat="server"  CssClass="PointsInput" ID="LblLockPoints"></asp:Label>
            <label>删帖积分</label><asp:Label runat="server"  CssClass="PointsInput" ID="LblDelPoints"></asp:Label>
        </fieldset>
        <fieldset>
            <legend>管理员信息</legend><asp:Button runat="server" ID="BtnAddAdmin"  Text="添加管理员" 
                onclick="BtnAddAdmin_Click" />
                <br /><br />
               <label>管理员邮箱</label><asp:Label runat="server" ID="LblEmail"></asp:Label>
        </fieldset>
        <fieldset>
            <legend>积分对应称号</legend>
            <label>积分大于</label><asp:TextBox runat="server" style="width:50px"  ID="TxtNum"></asp:TextBox>被称为<asp:TextBox runat="server" ID="TxtPointsName"></asp:TextBox> 
            <asp:Button runat="server" ID="BtnAddPointsName" Text="add" 
                onclick="BtnAddPointsName_Click" />
                <asp:GridView runat="server" ID="GridAccountLevel" AutoGenerateColumns="false">
                    <Columns>
                        <asp:BoundField ReadOnly="true" DataField="Points" HeaderText="最低积分要求" />
                        <asp:BoundField ReadOnly="true" DataField="Title" HeaderText="Title" />
                    </Columns>
                </asp:GridView>
        </fieldset>
        <fieldset>
            <legend>论坛版块设定</legend>
            <label>版块名称</label><asp:TextBox runat="server" ID="TxtForumName"></asp:TextBox><br /><br />
            <label>版块顺序</label><asp:TextBox runat="server" ID="TxtForumOrder"></asp:TextBox><br /><br />
            <label>父版块</label><asp:DropDownList runat="server" DataTextField="title" DataValueField="id" ID="DdlForum"></asp:DropDownList> <br /><br />
            <label>版块公告</label><asp:TextBox runat="server" ID="TxtForumInformation" TextMode="MultiLine"></asp:TextBox><br /><br />
            <asp:Button runat="server" ID="BtnUpdateBoard" Text="Submit" 
                onclick="BtnUpdateBoard_Click" />
        </fieldset>
        <fieldset>
            <legend>板块发帖类型设定</legend>
            <label>选择板块</label><asp:DropDownList runat="server" DataTextField="title" 
                DataValueField="id" ID="DdlBoard"  AutoPostBack="true"
                onselectedindexchanged="DdlBoard_SelectedIndexChanged"></asp:DropDownList><br />
            <label>选择类型</label><asp:DropDownList runat="server" DataTextField="title" DataValueField="id" ID="DdlThreadType"></asp:DropDownList> <br />
            <label>类型名称</label><asp:TextBox runat="server" ID="TxtThreadType"></asp:TextBox><asp:Button runat="server" ID="BtnThreadType" Text="Create" OnClick="BtnThreadType_Click" /><asp:Button runat="server" ID="BtnUpdateThreadType" Text="Update" OnClick="BtnUpdateThreadType_Click" />
        </fieldset>
        <fieldset style="background-color:Gray">
            <legend>TO DO LIST</legend>
            <ol>
                <li>account_level的【删除】【修改】</li>
                <li>论坛版块设定</li>
                <li>论坛版块位置设定</li>
                <li>论坛版主设定</li>
                <li style="text-decoration:line-through; color:White; font-weight:bold;">帖子类型设定</li>
                <li>日志记录</li>
            </ol>
        </fieldset>
        <img src="../VerificationImage.ashx" alt="" />
        <asp:TextBox runat="server" ID="TxtVerificationCode"></asp:TextBox><asp:Button runat="server" Text="check" OnClick="BtnCheck_Click" /><asp:Label runat="server" ID="LblCheck"></asp:Label>
    </div>
    <div>
    </div>
    </form>
</body>
</html>
